<?php
if (!(defined('IN_IA'))) 
{
	exit('Access Denied');
}

//佣金
class Index_MxShopPage extends MobilePage {

    //我的佣金页面
	public function main() {
		global $_W, $_GPC;

		//获取令牌
        $token = $this->getToken();

		include $this->template();
	}

    //获取用户佣金信息接口
    public function getInfo() {
        global $_W, $_GPC;

        //验证令牌
        if(empty($_GPC['token']) || !$this->checkToken($_GPC['token'])){
            show_json(0, '参数有误');
        }

        show_json(1, array('code'=>'666'));
    }

    //我的佣金明细
    public function mylist() {
        global $_W, $_GPC;

        //获取令牌
        $token = $this->getToken();

        include $this->template();
    }

    //获取佣金明细接口
    public function getList() {
        global $_W, $_GPC;

        //验证令牌
        if(empty($_GPC['token']) || !$this->checkToken($_GPC['token'])){
            show_json(0, '参数有误');
        }

        show_json(1, array('code'=>'666'));
    }

}
